Retrieves the first day of the week for a month calendar control.
#Include <GuiMonthCal.au3>
_GUICtrlMonthCalGet1stDOW($h_monthcal)
Parameters
$h_monthcal | control id/control hWnd |
Return Value
String of 1st Day Of Week
Remarks
None.
Related
_GUICtrlMonthCalSet1stDOW
Example
#include <GUIConstants.au3>
#include <date.au3>
#include <GuiMonthCal.au3>
opt('MustDeclareVars', 1)
Dim $Date
GUICreate( "Get First Day Of Week", 210, 190)
$Date = GUICtrlCreateMonthCal (_NowCalcDate(), 10, 10)
MsgBox(0, "First Day Of Week", _GUICtrlMonthCalGet1stDOW ($Date), 10)